The visible (slightly outside) spectrum might only heat your skin but it is the other stuff that will cause your electronics to fail.
Not unlike the recent solar eclipse — it isn't the visible light that can fry the retina, it is the stuff that you can't see that can blind you.
“But an emp blast is not.”
THis is true....but to generate an EMP electromagnetic field you need to start with gamma rays that come from a nuclear detonation.
You can’t hide the nuclear detonation.