Pete Davidson, the 22-year-old, Staten Island-born “Saturday Night Live” comedian, recently trashed his hometown in an interview with Uproxx.com. Of his fellow Islanders he said, “F–k them. They all suck. They have nothing to do with me or my success. It’s a terrible borough, filled with terrible people. A f–king tidal wave could take out Staten ­Island, and I wouldn’t even move in my sleep. In fact, I would sleep better. F–k Staten Island. A bunch of Trump-supporting f–king jerk-offs. F–k them. End quote.” It didn’t sit well with our Staten Island-bred Post reporter Dean Balsamini.

Memo to Pete Davidson: Don’t throw rocks at The Rock.

Or at your Staten Islander mother, whom you called “too f–king stupid to realize” she should move.

It’s easy to riff on Staten Island. Everybody does it. But it’s usually done badly. One-note guido/mobster/bridge-and-tunnel schtick that elicits an eye roll from real New Yorkers — the ones born and bred in the outer boroughs.

Try taking a cue from your fellow “SNL” cast member Colin Jost, who also hails from Richmond County. His coming-of-age film “Staten Island Summer” playfully ribs the borough, but the audience is in on the laughs, not the butt of some ­humorless screed. He’s also way better-looking than you.

You say if a tidal wave hit the ­Island you’d sleep better?

Keep talking like that and you may end up sleeping with the fishes.

You’ve said that in high school, you had one friend and didn’t get invited to parties.

Shocker. You’re such a people person.

Maybe you’re bitter because Kate McKinnon’s Hillary Clinton and Alec Baldwin’s spot-on Donald Trump blew away your listless impersonation of Marco Rubio?

Or maybe you’re just angry about your minuscule air time.

You may hate Staten Island, but it was a good enough place to call home for Ralph Waldo Emerson, Martin Sheen, Christina Aguilera, Alyssa Milano, Joan Baez, OJ prosecutor Marcia Clark, Wu-Tang Clan and Paul Newman.

“Game of Thrones” author George RR Martin was so enamored of Staten Island, which he could see from the window of his boyhood home in Bayonne, NJ, he modeled his map of Westeros on it.

In the same interview where you diss The Rock, you note you “mostly live alone in Midtown” but just bought a home with your mom on the Island and “go there as much as you can.”

Not for nothin’ Pete, but if you don’t have something nice — or funny — to say, shut your effin’ ­piehole.

My gut tells me your outburst was timed to drum up interest for your Comedy Central special, which premiered Saturday night.

In the words of Bill Maher, I don’t know it for a fact, I just know it’s true.

Not for nothin’ Pete, but if you don’t have something nice — or funny — to say, shut your effin’ ­piehole.

So no Denino’s pizza for you.

And no Jacques Marchais ­Museum of Tibetan Art.

And no free ferry trips or Staten Island Yankees games.

And you’re not allowed to ride the tallest ferris wheel in the world.

Your stoner, “everything sucks” act is staler than last Sunday’s ­lasagna.

You, the son of a hero, should know better. Your dad, Scott Davidson, was one of 78 Staten Island firefighters who perished on 9/11. The borough with only 5 percent of the city’s population was home to 23 percent of the firefighters who died that awful Tuesday.

My dad, who still lives on Staten Island, has a phrase for people like you, who move off the Island and then big-time the borough: Brick thrower.

I live in Montclair, NJ, now, but I never forget my roots. Don’t forget yours.

And stop acting like Larry ­Harmon.

He was Bozo the Clown — and a Staten Island resident.