Maximum distance from any fuel gas appliance to its shutoff valve?

Maximum distance from any fuel gas appliance to its shutoff valve?