I'm re-evaluating your battery hookup. Battery number 1 I understand, is the start battery and I would assume, also ties into the Battery switch. (Possibly position 1) Then the accessory batteries (2 and 3 in parallel) would logically hook up to the other terminal on the battery switch. (Position 2) The addition of battery 3 to 2 would be to essentially double the current capacity for a heavy load to the accessory's battery circuit. (The amps, boat accessories, etc.)
The 4th battery is still a mystery to me; it would seem the amps could all run off battery 2 and 3 in parallel. Charging these in the boat would be accomplished via the Battery switch set to "both" while the engine was running. (I assume neither amp is rated for 24 volts, correct?)
If battery 4 was added to run one (or more) of the amps or "boosts" the amp response, then there almost has to be a way to hook into the main system to charge, which is why it goes to the Battery switch. Herein lies the possible answer to the noise source. In days of past people used to run a giant capacitor on the power supply (at the end of the power cable near the amp) to accommodate for transient current surge, such as that of a huge bass note requirement from and amp. More current thinking is to add an additional battery to the circuit "near the amp" to essentially do the same thing that the capacitor would do. (At a sacrifice of weight to performance)
If this is the case, running a long cable to the amp from the battery defeats the purpose. In addition, the long cable run could essentially become an antenna that would pick up noise from virtually anything running in the boat such as fuel pump, blower, accessories, etc. (Or near the boat) In your case, hooking a large capacitor up at the amp connection may help eliminate noise and give an extra boost to bass. (2-5 farad)
The subs are also hooked up in this manner, but the low frequency cutoff of the sub amp will perhaps not pass the noise, the sub amp would filter it out. (200 Hz or less bandpass, hiss would be much higher frequency)
The closer the amps are to the battery, the better. I would run longer (heavy) speaker cable before a long battery cable. Speaker wires will not pick up noise from the air because of their low impedance load and typically, cancel noise due to both leads common in the environment. (Common mode rejection)
So, question: Which battery switch terminal are the batteries hooked up to? I will assume the "common" terminal on the battery switch is tied into the engine and boat electrical and somehow relates back to the accessory battery. By the way, Battery 2 shows as your starting battery in the picture.
As I said before, every trouble can have its unique issues, above is some suggestions. Hope it helps.