USAF T.O. 1-1-655, Restricted Use of High Potential Voltage Testing Apparatus on Aircraft Containing Fuel, addresses your question.
As a last resort, high potential testers may be used in fuel areas provided they are drained, purged and maintained at less than 20% LEL.
Funny thing about the...