Overland mainline NatGas pipe has MLVs that can blow-out an entire region.
They are about 90 miles apart.
In the event of a rupture, these are what are activated.
Smaller in-line valves \can\ be used but they release slowly, they are typically used as local control.
Thanks for your gas pipeline knowledge.
The only thing I learned about automatic gas valves, I learned when I bumped my gas meter with my lawn tractor and broke it loose. There was a big “whoosh”, and then nothing. I did take a wrench and close the valve to the underground line, but later learned that when the line was broken, the pressure dropped and an automatic shutoff valve closed to shut my line off at the street.