Due to serious lack of appropriately placed shut-off valves in my house plumbing (not my fault, it came that way), I need to shut off the cold water supply to my gas hot water heater so I can replace a bathroom faucet.
Long story short, there are no shut off valves to the faucet in question, nor are there shut off valves further back along the hot or cold water supply. So I think my best option is to shut off the whole house supply, then run both hot and cold lines until they are empty, perform the faucet change, and be on my way.
My concern is the hot water heater. I'm reading conflicting things on the Internet, and can't find a direct answer to this question: Is it OK to drain the hot water tank for a short time via the house lines (hopefully less than an hour, and not a true, full-on draining of the tank) without risking serious damage to the heater and its components? And if it is, do I fully shut the hot water heater off, or can I just put it in pilot mode? My thinking with the pilot mode approach is that I'm not truly draining the tank, just running the faucet to drain the outgoing line.