Could be a town-gas feed for the kitchen stove?

I don't know if anyone in the USA cooks with oil stoves anymore.

Even if that thing might be code....it would still worry me to have a gas line out in the open like that. What if something were to fall on it through some "act of nature"? That would be a disaster.