LEDs and diodes are not static sensitive
I'm not saying you should let them out in a thunderstorm though!
I've done some brutal things to mine, even hooked one up to 6v for half a second...
EMP?
I'm not sure, and I don't want to find out!
I have had LEDs and diodes right next to magnets, and they work fine.