You have it backwards. The tax is high for gasoline. The tax is low for eletricity. Therefore if you want to compare costs, you should subtract all the taxes, otherwise electricity looks cheaper due to less tax.
Sorry, but when we make financial decisions here in the real world, they are based on what it actually costs us, bottom line. Not some fantasy tax-free wonderland that you think should be used.