N.Y. ADC. LAW § 28-302.1 : NY Code - Section 28-302.1: General

A  building's  exterior  walls  and appurtenances
  thereof shall be maintained in a safe condition. All  buildings  greater
  than  six stories shall comply with the maintenance requirements of this
    Exception: The requirements imposed by this article shall not apply to
  any part of an exterior wall that is less than 12 inches (305  mm)  from
  the exterior wall of an adjacent building.