wd-40 = no.
silicone added cleaners and lubricants = no.
zero residue contact cleaners = yes.
Aftermarket lubricants and cleaners combo fluids or sprays... with no silicone... used after the zero residue cleaner has been used to clean up the pot or switch = sometimes yes.
that pairing is the best long term solution, IMO and IME.
(based on my experience in handling and working on the range of a thousand older audio items)
The trick, IMO and IME... is to clean and rinse out with a fairly aggressive zero residue cleaner, and then use a cleaner that is advertised as a lubricant/cleaner, in the now dry but clean contact point.
If it is done with just the lubricant cleaner, a single shot cleaning, not a two stage one.....in my experience, too much of the detritus/crap remains, on a set of contacts that did not get a proper cleaning in the first place. What I mean, is the problem that was attempted to be fixed, comes back again, far sooner, if it is just a one stage lubricant/cleaner that is used. And never anything with silicone in it. It makes for an impossible mess down the road.