N.Y. General Municipal Law § 240
Application of article
This article shall apply to cities of the second and third class, to any county outside of the city of New York, and to towns and villages. The term "municipality," as used in this article, includes only a city of the second and third class, any county outside the city of New York, a village, town or that part of a town not included within the boundaries of a village.