A 54-year-old man was dragged along the platform of a Queens subway station after his leg was struck by a passing A train on Friday, cops said.

The straphanger was standing too close to the edge of the platform when he was struck at the Rockaway Blvd. station in Ozone Park shortly after 4 p.m., according to law enforcement.

The victim suffered an injury to his right leg when he was struck by the Lefferts Blvd. station-bound subway, an MTA source said.

The MTA cut power to the third rail shortly after the train strike, and medics rushed the man to Jamaica Hospital in stable condition, sources said.