Since the gas/Electric range conversion is fairly common if you intend to resell at some point make the shut off accesible or easy to change, other wise what my parents did was to have all the pipes removed to the break.
This eliminates the risk of leaks from unwatched sources.
But who ever put a new range in over a flexible gas hose needs a good talking to.