How to clean a pilot light safely?

My routine is simple: I always unplug the pilot light before cleaning it. I use a slightly damp cloth, never one that gets soggy, and I never immerse the pilot light in water. For silicone models, a little mild soap is enough. I let it dry thoroughly before reconnecting or relighting.