Some ideas just never die, no matter how bad they are.

Politicians are particularly guilty of clinging to bad ideas. One idea too many politicians from both major parties can't seem to let go of is the belief that we should raise gas taxes to pay for infrastructure projects.

This idea is rearing its ugly head once again because President Donald Trump is about to unveil the details of his administration's $1 trillion to $1.7 trillion infrastructure investment program.

The usually anti-tax and Republican-leaning U.S. Chamber of Commerce is at the forefront of this move, promoting a five cent per gallon per year increase in the federal gas tax over the next five years.

There was an initial pushback on this idea from some congressional Republicans at a private GOP donor retreat hosted by billionaire industrialists Charles and David Koch this past weekend. Those going on the record to oppose it were Texas Sen. John Cornyn, North Carolina Sen. Thom Tillis, and Tennessee Rep. Marsha Blackburn.

But don't be fooled. There are still plenty of Republicans who lean in favor of this idea. Those Republicans definitely include some people in the Trump administration, who first reportedly floated the idea of a seven cent per gallon federal gas tax hike as recently as October.

In Congress, that group of Republicans seems to include the number three man in the Republican Senate leadership, John Thune of South Dakota. Thune is one of those guys who keep resurrecting the gas tax hike discussion. He first floated it in early 2015 as part of a plan to replenish the dwindling Highway Trust Fund. Then he backed off about seven months later when he realized there wasn't enough support for the idea. But Thune returned the gas tax idea when the reports of the possible Trump plan surfaced three months ago.

On the surface, this sounds like responsible government. The federal gas tax of 18.4 cents per gallon hasn't been raised since 1993, and the Highway Trust Fund is often strapped for cash. There also seems to be bipartisan agreement that many of our roads and bridges need repairs now. Politicians need to do the right thing and stop being so scared of telling the voters they need to pay more for those roads we rely on every day, right?

Wrong.

First off, not all the money from the gas tax actually is used for roads and bridges.

The last time the gas tax was raised in 1993, the entire additional tax hike was used to pay for overall federal budget deficit reduction for the first four years. But even now, about 16 percent of the money is funneled right into federal deficit reduction. It's like a tax on our taxes, if you didn't think that was possible.

Millions of dollars also go to everything from somewhat related transportation programs like mass transit to totally unrelated pork barrel nonsense like hiking trails and a museum in honor of the defunct Packard luxury car in Ohio. If the argument is that we need to tax drivers to maintain the roads and other infrastructure they use, then using that tax money for non-driving infrastructure projects is dishonest. If mass transit maintenance costs aren't sustainable from the taxes specifically earmarked for their use, why should millions of drivers who often have no access to mass transit pay for it?

Worse, relying on gas tax hikes also means relying on Americans continuing to drive and buy more at the pump. With fuel efficiency rising across all classes of vehicles and hybrids more available than ever, the government could tax itself right out of its own needed funding source.

People may stop driving as much or start buying smaller and more fuel efficient cars if gas prices rise. In the latter scenario, the number of drivers will not go down, but the amount of gasoline purchased will fall and gasoline tax revenues along with it. That could mean raising the gas tax even higher to maintain revenues.

Don't forget that a gas tax is really just another sales tax that adversely affects the lower middle class and the poor. Luckily, the 1993 gas tax hike came during a period of falling gas prices so its adverse impact on consumers was muted. Right now, national average gas prices have been under $3 per gallon for a few years now. But prices have been creeping up over the last few months. If that trend continues, consumers will feel a tax hike even more. Will the gas tax hike be indexed to gas price inflation at all? Don't hold your breath.

Of course any tax hike, whether consumers feel it or not, isn't good for the economy. Every added cent spent on gas is a cent not invested or spent on clothing, dining out, etc.

But all of these arguments are really just parts of the same problem. That problem is that America's entire transportation system is too centrally planned and too car-centered to be safe, economically advantageous, and fiscally sustainable.

One of the best parts of what we've learned about the Trump infrastructure plan is that it reportedly will give priority to projects with demonstrated local demand and funding sources other than federal tax money. Boosting gas taxes by seven cents or five cents a gallon to pay for "big idea" projects flies in the face of that wisdom.

Before they raise any taxes on gasoline, the politicians need to prioritize truly needed repair projects. Then, they need to make sure the existing gas tax money is used for what it's supposed to be used for. Finally, they need to reexamine why so much money is spent for an automobile-centered culture and economy that's becoming more expensive to maintain with or without new taxes.

Commentary by Jake Novak, CNBC.com senior columnist. Follow him on Twitter @jakejakeny.

For more insight from CNBC contributors, follow @CNBCopinion on Twitter.