New York's top cop blasted insinuations by Comptroller Scott Stringer that the de Blasio administration "politicized statistics" on crime across the city.

"I see that as an unnecessary attack for political purposes," NYPD Commissioner Bill Bratton told reporters after a breakfast event Tuesday. 

RELATED: NYPD launches gunshot detection system in Bronx, Brooklyn

"Attack the mayor all you want," he added. "You can attack me all you want. But don't attack the work of my cops because I'm gonna punch back."

Stringer made the comments on Monday at a press event recognizing the uptick in gun violence over the weekend, including three men shot and killed in Fort Greene.

In a statement to reporters, Stringer said he had great respect for Bratton and all police officers, and that his statements were directed at the mayor's touting of this year's summer being the safest in more than 20 years.

"[The comments] reflect what I am hearing from parents and grandparents from all across our city: That statistics alone are cold comfort to communities that face the threat of gun violence — and that a real conversation on real solutions is needed," Stringer said.

On Tuesday, Bratton admitted the city had a rough weekend but that "crime and homicides are still trending in the right direction."

Recent crime statistics said 239 people have been killed so far in 2015, compared to 227 in the same time period last year. The number of shootings are down slightly: 848 this year and 852 in 2014.

Stringer joined local Brooklyn leaders on Monday to denounce the violence over the weekend that left at least seven New Yorkers dead and more injured.

"When you're saying we had the biggest, safest summer in history — well, when you go out and talk to the parents and the grandparents, they don't want to hear that," Stringer said at the time.