Stand clear of the platform edge!

A staggering 65 percent of subway platforms are either worn or damaged, according to a troubling report released Friday by state Comptroller Tom DiNapoli, based on the MTA’s latest inspection data.

The alarming stats, covering 2017, represent a 54 percent spike from the previous survey conducted five years earlier, found DiNapoli, who called platform deterioration “particularly troubling,” because worn edges have been tied to instances of passengers falling onto tracks.

Meanwhile, a growing number of subway stations suffered from structural deficiencies requiring the agency’s attention, the comptroller’s report found.

“Years of under-funding for the MTA capital program has translated into a longer list of needed repairs in New York City’s subway stations, fewer stations in good condition, and ever-increasing rider aggravation,” DiNapoli said in a statement.

The 10 worst station conditions were all in Queens, with 85th Street-Forest Parkway in Woodhaven and Hoyt Avenue in Astoria topping the list. The latter has been remodeled since the survey was conducted.

Still, the comptroller’s report pointed to some successes.

The number of severe structural deficiencies dropped 25 percent between 2012 and 2017, with 30 fewer stations facing any at all. And architectural issues like lighting, tiling and finishing also declined.

Yet maintenance is likely to continue to fall behind, the report suggests. The MTA has said the number of repairs needed will decline after the completion of work for its current capital program, but it promised the same thing during the last capital plan — and the number of structural issues still increased.

MTA spokesperson Tim Minton ripped DiNapoli’s conclusion about the number of stations in need of repair as “flawed.”

“Many more stations contain only minor issues, affecting neither safety nor the customer experience. Those stations are understandably not prioritized for immediate repair,” Minton said.

“By focusing on high-priority defects separately, we are able to respond to serious issues quickly making the most of our limited resources efficiently and cost-effectively,” he added.

The 2017 survey was conducted in preparation for the agency’s next capital plan, which is expected to cost upwards of $50 billion.

“The report shows that it’s really important that we invest in our infrastructure,” said Lisa Daglian of the Permanent Citizens Advisory Committee to the MTA, the agency’s in-house advocacy group. “The longer you put things off, the more they cost.”