WASHINGTON — Sen. Bernie Sanders, who has already come out against a tax on soda, hinted Sunday that cigarettes should be made illegal.

“Cigarettes are causing cancer, obviously, and a dozen other diseases. And there is almost the question as to why it remains a legal product in this country,” Sanders said on “Meet the Press.”

Sanders has come out against a proposed soda tax in Philadelphia to fund pre-K education, because it’s a “totally regressive tax” that hurts the poor. But, Sanders said he backs similarly regressive taxes on cigarettes and potentially more.

“Cigarette taxes are — there’s a difference between cigarettes and soda,” the Vermont senator said. “I am aware of the obesity problem in this country.”

NBC moderator Chuck Todd recalled Mayor Bloomberg’s unsuccessful attempts to tax and limit sugary drinks out of public health concern.

“I don’t think Michael Bloomberg would agree with you on that one,” Todd said.

“Well, that’s fine. He can have his point of view,” Sanders said.

Opponent Hillary Clinton has backed Philadelphia Mayor Jim Kenney’s proposed tax on sugary drinks. She’s beating Sanders by about 750 delegates heading into Tuesday’s Pennsylvania primary.

Regardless, Sanders pledged to fight on to the convention: “We’re not writing our obituary.”

Also Sunday, Sanders declined to condemn celebrity supporter Rosario Dawson for drudging up Bill Clinton’s infidelity at his campaign rally. The “Sin City” actress said, “We are literally under attack for not just supporting the other candidate. Now I’m with Monica Lewinsky with this — bullying is bad.”

Asked whether Dawson should have brought up Clinton’s former White House intern, Sanders said, “I have no idea in what context Rosario was talking about her. But I would hope that all of our people would focus on the real issues facing working people and the massive level of wealth and income inequality.”

Sanders offered conditional support of Clinton should she be the nominee.

“That is totally dependent on what the Clinton platform is and how she responds to the needs of millions of Americans who are sick and tired of establishment politics and establishment economics,” Sanders told “This Week.”

He added: “You know, I can’t snap my finger and tell people what to do.”