WD-40 for electronics
No it’s just Kerosene in a spay can and will dry things out even more and make those pots even more noisy once it’s dried out.
You want a proper electronics spray cleaner with lube properties for potentiometers.
Don’t get sucked into $$$$$ audio snake oil cleaners.
This one for volume pots
https://www.newark.com/electrolube/eml200f/lubricant-200ml-aerosol/dp/57AC5795?st=contact%20cleaner
This one for plugs and sockets, rca’s ect ect ect
https://www.newark.com/caig-laboratories/d5s-6p/contact-cleaner-aerosol-142g/dp/84Y7315
Cheers George