Some guitars and pickups do better than others.
I kind of suspect that the more switching options the pickups offer, the more noise I get when in my room. My Strats are SSS and are silent in positions 2 and 4 and 1, 3, and 5 are very noisy. My humbuckers all have coil taps and have varying levels of noise. When I take the guitars to a venue then they’re all much quieter, even the Strats.
I suspect it’s because it’s an adobe house from 1938, with original rheostats in every room, and most outlets are not grounded. Rewiring to code would be ridiculously expensive so it is going to remain how it is. I can move my gear to the garage and build a Faraday cage if it bothers me enough.