I recently saw some forum advice for welding near a fuel tank that included removing all of the fuel. This didn't sound like a terribly good idea to me because now, instead of some percentage of the tank containing volatile vapors, the entire tank is filled with them, yes? Wouldn't you want to purge the tank with some inert gas?
On the other hand, aren't all modern fuel tanks sealed, in which case removing the fuel isn't necessary, and that ventilating the area should be sufficient? And further, don't hundreds of muffler monkeys weld near gas tanks day-in and day-out?
In other words, what's the RIGHT way to weld near a fuel tank without auto-barbecuing oneself?

