N.Y. Criminal Procedure Law § 245.85
The fact that a party has indicated during the discovery process an intention to offer specified evidence or to call a specified witness is not admissible in evidence or grounds for adverse comment at a hearing or a trial.