Natural Gas-Powered Bike Rack

Do you ever lock up to a gas pipe or meter?
I”m sure it”s frowned upon by the gas company and emergency services. Possibly even against some code.
I would never lock to one for a long period.