Can the gas shutoff for a stove be located below the floor, in the basement? There is easy access there.

I ask the question because the alternative is to come up through an adjacent base cabinet (from below), install a shutoff inside the cabinet, take a horizontal turn and exit out of the cabinet to the stove.

It would be simpler to just come up through the floor behind the stove.

Thanks,

Jay