If I recall correctly, in the Armalite armorer's class, they were emphatic that it did not need cleaning, and that anything that would be stiff enough to prevent the pressure (north of 50k PSI, from the barrel length vs residual pressure chart I was seeing on AR15.com) from actuating the bolt would also be stiff enough to prevent you from cleaning it with any reasonable tool.
That said, I just posted
in the LTR thread in Appleseed forum that my loaner AR has seen AT LEAST 2500 rounds of .223/5.56 plus AT LEAST 5000-7500 rounds of .22LR through a conversion, which uses the same gas tube. (As I'm thinking about it and looking at the space that the ammo has occupied in the safe today, I'm thinking .223/5.56 count is somewhere between 2500 and 5000 rounds, more toward the 2500 end, and the .22LR count is more toward the 10k round mark. And I've got a lot more wear on that rifle than I thought I did.)
In all of that, I've confirmed that .22LR is
dirty. Nasty, sooty, waxy (CCI), cruddy, and terribly unreliable compared to good centerfire ammo. IIRC, there's ground glass in the primer to make sure it ignites, and I'm positive that at least some of that has found its way back through the tube on a rainy day. I really keep expecting it to clog, but I've never cleaned the gas tube, and I've never had a failure attributable to the tube or any component of the gas system. Really.
I'm going to give the same advice I got in the Armalite course - If it's bad enough that you're considering ways of cleaning it, spend the $10 or so on a new one. If you still feel you must clean it, go ahead and hose it out with some kind of carbon/soot cutting solvent...But don't expect any magical results.