NYC Administrative Code Section FGC 309 Electrical
309.1 Grounding.
Gas piping shall not be used as a grounding electrode.
309.2 Connections.
Electrical connections between appliances and the building wiring, including the grounding of the appliances, shall conform to the New York City Electrical Code.