Clean with the upper receiver sitting upright. Gravity will keep any solvent or oil from flowing uphill into the gas block and gas tube.
If it really bothers you, go to the auto parts store and buy an aerosol can of non-chlorinated brake cleaner for $3. Buy a brand that comes with the little plastic straw that fits into the spray nozzle. With the BCG out of the receiver and muzzle held low, use the straw to blast brake cleaner into the receiver end of the gas tube. You'll see brake cleaner dribble from the muzzle (do not let the brake cleaner dribble onto the linoleum floor or the wife unit will be very p!ssed). Brake cleaner will remove oil, so be sure to run a lightly oiled patch through the bore after using brake cleaner. Then follow the oiled patch with a dry patch.