June 26, 2020 | 1:15am | Updated June 26, 2020 | 3:36am

President Trump on Thursday night said crime in Chicago makes it “worse than Afghanistan,” and ripped into other violent, Democratic-run US cities, where life is “like living in hell.”

The president made the remarks during a Fox News Town Hall after host Sean Hannity asked him about soaring crime in some big cities.

“Chicago is an example — it is worse than Afghanistan,” Trump said, before also listing Detroit, Oakland and Baltimore.

“They want help. These cities, it’s like living in hell.”

The president blamed the violence in those cities on their Democratic mayors.

In Chicago last weekend, at least nine people — including four kids — were killed and 51 others wounded in a rash of shootings.

Earlier this month, the Windy City experienced its deadliest day in roughly six decades, when 18 people were murdered.

Two people walk away from West Suburban Medical Center in Oak Park, in Chicago, where a 3-year-old boy died after being shot while riding in an SUV with his father a few blocks away in the Austin neighborhood
Two people walk away from West Suburban Medical Center in Oak Park, in Chicago, where a 3-year-old boy died after being shot while riding in an SUV with his father a few blocks away in the Austin neighborhoodAP

Trump also voiced support for stop-and-frisk, a controversial policing practice that New York City used for years as a means to reduce crime.

He credited former Mayor Rudy Giuliani — now his personal lawyer — with effectively using the tactic.