Here’s the question: Are Comptroller Scott Stringer and Public Advocate Letitia James really more of a target for attack than former Police Commissioner Ray Kelly?

The city must think they are. Come January, Kelly will lose his police security ­detail while the others will keep theirs.

Now, it’s true that most former NYPD commissioners generally make their own security arrangements after a year of transition. But it’s also true that no city official has been as much in the front lines when it comes to fighting terrorists as Kelly.

Under Kelly, the NYPD thwarted 16 terrorist plots against the city, including planned attacks on the subways, JFK Airport, the New York Stock Exchange and Times Square.

Granted, Kelly and/or his current employer, Cushman Wakefield, could pick up the tab for his security needs. But the real issue is more than money.

It’s this: If we are going to reassess the need of a former NYPD commissioner for a police detail, shouldn’t we be having a similar reassessment for politicians chauffeured around like Turkish pashas by police officers who would be better used to do what they are trained for — fighting crime?

That’s especially true when some officials use their police details as little more than personal messengers. Fact is, we fail to see why Scott Stringer should have a police detail to drive his wife around.

Same goes for City Council Speaker Melissa Mark-Viverito and Public Advocate Letitia James, who also enjoy police details.

So while we’re glad to see the city reassessing the needs of former police commissioners for police details, how about a thorough reassessment of the need for police details by city officials who face nowhere near the same threats?

High time for a progressive mayor to order an audit into the expensive use of our professional police officers as personal servants of our privileged political class.