It's ESD protection. MOSFET gates are easily damaged by static. Any MOSFET that has a short path from the gate to a jack should be protected. A 1N4148 does not provide adequate protection. A zener rated for 13V or lower is preferred, but LEDs also work because their reverse breakdown voltage is under 10V.