Just say "I am actually an ethereal being beyond your comprehension, therefore I do not need to partake in these categories you humans have created for yourselves, to ask my gender is a question of little importance, perhaps you should ask why you care so much, child."
That will either weird them out enough to just leave or it'll make them laugh.
Tbh, if an online stranger asks my gender I mostly just say "ur mom"