Absolutely, never place the zapper electrodes near the eyes. Yes, there is a risk.
However, if you were holding the electrodes in your hands, away from the body, and you felt irritation around the eyes, there is a good chance that you had some infection there that you were unaware of before that.