City Council Speaker and mayoral hopeful Corey Johnson said Tuesday he opposes cutting the gifted and talented programs from the city’s public school system after a diversity panel recommended the move in a new report.

“Desegregation must be a priority and I look forward to reviewing this report in full,” said Johnson in a statement.

“But, while I support moving away from relying on a single test for admissions to elite schools, I don’t believe eliminating gifted and talented programs outright is the solution,” he said.

“We need to revamp admissions to gifted programs on the district level so that they reflect the diversity of our city’s students. But we must be thoughtful about the process and make sure all stakeholders can weigh in,” said Johnson.

Even though Mayor Bill de Blasio convened the panel, he’s refused to say if he supports its recommendations.

The council’s education committee chair, Mark Treyger (D-Brooklyn), said he agrees with the panel’s decision to end what he called the “Bloomberg-era ‘gifted and talented’ admissions model.”

“This model has failed to live up to its promise of equitable opportunities, resulted in the closure of half of all Gifted and Talented [programs] which disproportionally impacted communities of color, and increased segregation of all kinds in our schools,” said Treyger.