Most of 827 New York City residents sampled at random in a Baruch College / Time Warner survey oppose a third-party presidential candidacy by former Mayor Michael Bloomberg.

While 58 percent rejected the idea, 33 percent favored it, according to the findings released Monday.

The college reported “While a Bloomberg run is welcomed by majorities of Republicans, those with no party affiliation and [Donald] Trump supporters, Democrats reject a Bloomberg run by a 40 point margin — 65% no, 25% yes.”

Hillary Clinton comes out on top in the poll. She beats all other candidates — including Sen. Bernie Sanders — by 48 percent to 38 percent, with 12 percent undecided in the state’s party primary, which is to be held April 19.

According to the news release for the poll taken on landlines between Feb. 10 and Feb. 16:

“As is true around the country, the poll shows large generational differences. NYC registered voters under age 30 support Senator Sanders over Secretary Clinton 48% to 37%, while those over 50 strongly support Secretary Clinton over Senator Sanders 57%- 28% (over 65: 60% to 25%) The 30-49 year olds are truly in the middle with 46% for Clinton and 43% for Sanders. Manhattan is Hillary’s best borough, with 58% supporting Clinton, and 35% for Sanders.”

This is a city where Bloomberg rejected two referendums from the 1990s and led a drive to legislate himself four more years in office beyond the legal two-term limit — a law reinstated after his third election.