City Council Speaker Corey Johnson zapped Con Edison on Wednesday, accusing the embattled utility of severely lacking “contrition” over the series of power outages that plagued New Yorkers this summer.

“If I was you, I would be saying, ‘I am so f–ing sorry for what happened! This is embarrassing! This is terrible!,’” said Johnson, tearing into Con Ed officials during a City Council hearing on the July 13 blackout that left a large swath of Manhattan dark for five hours and other recent outages.

“You had hundreds of people stuck in elevators across the city, thousands of businesses affected. Tens of millions of dollars lost, and I don’t hear that level of apology from Con Edison from the day it happened until today.

“You should be saying, ‘Damn, we are sorry! We screwed up!’” he added.

The speaker also ripped Con Ed president Tim Cawley for failing to attend the hearing, adding the utility officials who actually showed up provided “laughable” answers to council members’ questions that were filled with “technical gobbledygook.”

Johnson’s remarks came after Con Ed officials stuck to previous scripted remarks about the utility’s failure to prevent the outages. This included claiming it was left with little choice but to shut down power in parts of southeast Brooklyn on July 21 after three straight days of 90-plus-degree temperatures generated a record use of power citywide and in Westchester for a weekend.

Con Edison actually shut down power in parts of Brooklyn mere days after Cawley told reporters, “We’re ready for what the heat will bring.”

“You were ready? That is what ready looks like?” Johnson sarcastically told Steven Parisi, the power company’s vice president of central engineering, and David DeSanti, Con Ed’s vice president of Brooklyn and Queens electrical operations.

Parisi had earlier claimed Con Ed did everything it could to prevent the outages.

“The events in southeast Brooklyn and on the West Side of Manhattan happened because — despite our strategic, targeted investments — our system is not perfect,” he said. “They did not occur because of neglected infrastructure or a lack of maintenance or investment.”

He blamed the July 13 outage on an “improper connection” between some sensors and protective relays on transformers at Con Ed’s West 65th Street substation “following a fault” on a 13,000-volt cable.

“Relays are the brains of our system and make decisions in milliseconds to protect the grid when it faults,” he said.

However, he could not say when the last time the utility’s system on the West Side was actually tested.

Both Public Advocate Jumaane Williams and Queens Councilman Costa Constantinides said they believed Con Ed should be replaced if it can’t show it’s up to the job.

“We need a [public utility] that cares less about profits and more about the people they serve … If Con Edison is not up for the job, we need to find someone else,” Constantinides said.