Mayor Bloomberg’s crackdown on motorists who abuse official parking placards has snared a slew of detectives and investigators who work for the city’s prosecutors, The Post has learned.

Records show that a special squad of cops from the NYPD’s Internal Affairs Bureau handed out a total of 6,915 placard-related summonses between April and December 2008 and towed 1,165 vehicles.

The list of agencies snared in the sweeps reads like a Who’s Who of law enforcement – the NYPD, the Correction Department, federal agents and employees of the court system and the district attorneys.

“The numbers speak for themselves,” said Deputy Mayor Ed Skyler, assigned by Bloomberg last spring to reduce the number of official placards and step up enforcement.

The placards allow the holders certain privileges, such as parking at an expired meter or in a truck-loading zone.

But they also carry restrictions.

“A lot of people think you can use it anywhere,” NYPD spokesman Paul Browne said. “That’s not true.”

He said the placard squad routinely patrols “problematic locations” with heavy concentrations of government employees, such as lower Manhattan and Downtown Brooklyn.

With more official vehicles than parking spots to accommodate them, even the privileged parkers sometimes resort to breaking the law.

Browne said almost all of those receiving summonses have genuine placards, but are parked illegally. Anyone in a bus stop or in front of a hydrant also faces a tow.

The fines – usually $115 in Manhattan – come right out of the privileged parker’s pocket.

One law-enforcement source said most of the 197 tickets accumulated by DAs’ offices were in the vicinity of the courthouses around jammed Foley Square in Manhattan.

The source said the DAs used to get placards that read “POLICE,” since 90 percent of those driving the DAs’ vehicles are detectives and investigators.

“Now it says ‘DISTRICT ATTORNEY’ in large letters. The parking-enforcement people don’t respect that,” the source said. “We don’t have a huge problem. It is annoying when you get ticketed or towed with placard where the placard should have been effective.”

Jerry Schmetterer, a spokesman for Brooklyn DA Joe Hynes, said the crackdown doesn’t pose much of a problem for his office, since it’s equipped with a garage.

The number of placard summonses peaked in June at 1,003. By December, the number had been cut to 685.