Ya I have the comic, he fries all the Stormtroopers, but it wasn't a legion. It was a giant number though given the next panel, but it wasn't a legion and Sidious didn't seem really concerned either, he was letting his Guards handle it and only got involved cause a stray blaster shot caused him to spill his drink.
So if he wasn't that concerned, it couldn't have been an entire legion.
In fact, Trachta only had 100 Stormtroopers under his command, he only used 50 against Sidious and 50 against Vader.
So...yeah, then taking into account that against Sidious, 7 of the troopers were locked out the door, which leaves 43 troopers in the room, then taking into account that the Guards took out 10 themselves.
This leaves 33 troopers to get fried by Palpatine's Lighting.