The shutoff valve shall be located in the same room as the appliance. The shut-off valve shall be within 6 feet (1829 mm) of the appliance, and shall be installed upstream of the union, connector or quick disconnect device it serves. Such shutoff valves shall be provided with access. Appliance shutoff valves located in the firebox of a fireplace shall be installed in accordance with the appliance manufacturer's instructions. Where the shutoff valve is located in the firebox a remote shutoff valve shall also be provided.