A 21-year-old gay man waiting for a D train at the Tremont Ave. station near the Grand Concourse was attacked and hit repeatedly with a hammer before being thrown onto the subway tracks early Friday morning at about 1:10 a.m.

“Fag, fag!” the man screamed before swinging the hammer at the victim, hitting him repeatedly police sources said.

He then grabbed the victim and threw him onto the tracks before running off.

The victim miraculously managed to climb back onto the train platform on his own. Medics took him to St. Barnabas Hospital with minor injuries.

The suspect is described as a black male in his 30s with braided hair, approximately 5-foot-10 and 150 pounds, wearing gray sweatpants and a black coat.

Police are investigating the incident as a possible hate crime because of the anti-gay slur reported by the victim.

Governor Andrew Cuomo has also directed the State Police Hate Crimes Task Force to assist in the investigation.

“I am absolutely sickened by the vicious anti-LGBT assault on a Bronx subway platform early this morning,” Cuomo said. “This horrific and ugly crime is repugnant to our values as New Yorkers, and we have zero tolerance for such vile acts of hate.”

New York City’s hate crime epidemic on subways has spiked more than 54 percent this year.

As of October he NYPD have made arrests in eight of the 13 hate crimes that have been committed against individuals this year.