Hillary Clinton allies are pushing talk of her possibly running for mayor to “torture” Mayor de Blasio for waiting so long to back Clinton in the presidential race, according to one Democratic Party official.

Another source said Clinton is not discouraging such talk.

“People are pushing this to torture de Blasio. There’s a little payback going on. People don’t forget how the mayor of New York, who was Hillary’s campaign manager for her Senate campaign, walked away from her at a time when Bernie Sanders was breathing down her back,” a Clinton Democratic National Committee delegate from New York said.

“Trust me. People don’t forget.”

Another source said Clinton did not discourage her backers from discussing a City Hall bid, though a run is unlikely.

“She wants to remain relevant,” the source said.

But Jay Jacobs, the Nassau County Democratic chairman and a big Clinton bundler, shot down the Hillary for mayor speculation.

“Hillary is not running for mayor of New York City. It’s just talk. That is just not happening,” he said.

Some of Clinton’s top campaign officials attended a fundraiser for de Blasio’s re-election in D.C. on Thursday night in another sign her candidacy was unlikely.

Still, De Blasio’s critics held out hope.

“I’m not sure she would have an opponent. De Blasio would have to drop out if she ran,” said Bradley Task, former campaign manager to Mike Bloomberg, who is seeking a challenger to oust de Blasio.