Generally no. Technically yes lenses are made from different materials that have better transmission for IR. Optical coatings are also important. Info.
https://www.edmundoptics.com/search/
The reason I asked is I'd like a laser pointer that has a greater reserve of power to operate for a longer intermittent time- triple A's run out sooner. Or perhaps another type of battery. Personally Iike a larger form factor presented by AA's or 18650... types or some such. I own a Jetlaser and...
One thing that can be done to keep them away is to paint places where wasps and hornets nest blue it mimicks open sky. That was a way to keep such critters away before pesticides.
Such critters only build their nests under protected from the elements places.
Did you know hornets will not bother you unless you bother them. They are also very beneficial predators of other bothersome insects. Also come winter when they all have died and you could have salvaged that nest because people will buy it.