ALBANY — Gov. Andrew Cuomo wasn’t thrilled with ex-mayor and current presidential candidate Mike Bloomberg’s declaration during Tuesday’s debate in South Carolina that he was the key to getting same-sex marriage passed in New York back in 2011.

“Well I don’t remember the actual quote, but first, I didn’t know New York City passed a law that allowed marriage equality,” Cuomo told reporters Wednesday during an unrelated press conference in Albany, referring to the fact that New York’s marriage equality law was a state and not city measure.

“But look, in a debate a lot of people say a lot of things.”

He was responding to Bloomberg saying Tuesday night on the Charleston debate stage: “I got the Republican state Senate to vote for gay marriage.”

Top Cuomo aide Melissa DeRosa tweeted in outrage immediately following Bloomberg’s assertion: “I’m sorry, Mayor Bloomberg, WHO got gay marriage passed through a republican senate in NY? Oh that’s right, it was Andrew Cuomo. #DemDebateFactCheck.”

Marriage equality barely passed the then GOP-controlled state Senate, with 33 votes. Only four Republican state Senators voted in the affirmative, the rest of the ‘yes’ votes coming from Democrats in the minority party. The measure passed the state Assembly and Gov. Cuomo signed the bill into law.

Bloomberg notably donated $1 million to the mainly pro-life GOP state Senate’s campaign account around that time.

But the third-term Democratic governor wouldn’t elaborate further Wednesday.

“Yeah, I think a lot of people say a lot of things,” Cuomo added.