Shouldn't do that. suspect a crack in the insulation of an HT lead, or dirt on a plug insulator.
Remove the rubber boots over the mag pickups. They trap dampness. So do the type of plug caps that seal against the ceramic insulator of the plug, with a rubber lip. If you don't want to remove these parts, clean them out and get WD40 inside them.