Well, I had the opposite experience.. I had used a bunch on my AR and it got very sticky gooey near the gas block and other places after a long day of practice in the sun. IDK if it was due to general gun lubricant seepage, or due to heat/sun or whatever.
So, yeah, great idea, but no thanks to the mess.
Regardless, it does leave a little residue in normal usage, but nothing that doesn't come off easily.