Controlling noise gate noise

I am using a noise gate on a lead track (guitar) on one of my projects. When the gate first opens there is a small amount of static that precedes the first note. It there any way to prevent this or eliminate it once it is recorded? I have tried lowering and raising the gate settings to no avail. Thanks in advance. :question:

Change the attack time of the gate (to a higger value = slower “less sudden” opening of the gate) this will reduce clicking sounds. You may have to adjust the treshold after this. You can also have a look at the presets of the gate, see how attack and release are set here, for reference.