It doesn't matter what they are. Plant diseases can't infect humans; that's the stuff of science fiction. Also, eating insects is not dangerous. So you can eat the food without any actual risk.
It's good cooking practice to remove any unusual spots from the leaves, including bumps, discolorations, suspected larvae, and anything else. The reasons behind it have to do not with danger per se, but with quality. It can taste bad, many people are disgusted by it, and it's a general sign of sloppiness if you don't take care to clean the leaves from anything unusual. So cut or tear it out and only prepare the healthy green parts.