When you have a neutral and live wire running side by side, the electrical fields are opposing and cancel out if the noise is what is called "differential", i.e. what we think of as current powering our equipment. Those fields because the wires are close dissipate really quickly.
There are other currents, common mode, which travel the same direction on both cables. That gets in via ground connections, through RFI etc. That does not cancel out and can hence create a field that has a impact at larger distances.
Good equipment will include circuitry to filter out both types of noise. It also depends on the signal levels close by. All digital circuitry will be more immune than line level signal, which will be more immune than a phono input.
There are other currents, common mode, which travel the same direction on both cables. That gets in via ground connections, through RFI etc. That does not cancel out and can hence create a field that has a impact at larger distances.
Good equipment will include circuitry to filter out both types of noise. It also depends on the signal levels close by. All digital circuitry will be more immune than line level signal, which will be more immune than a phono input.