A man was killed in a Queens subway station Sunday afternoon when a dispute that started on a train continued out onto the platform and ended in gunfire, police and sources said.

The victim was arguing with someone on a Southbound 7 train and got out at the 90th Street station where he was shot on the platform by the man he was fighting with at 12:50 p.m., sources said.

“If somebody just pops out a gun and blasts you, that’s terrifying,” said local Cesar Ocampo, 24, adding that he was worried about his 12-year-old niece.

Another man, Ace Tan, 24, said he heard the shooting from the T-Mobile store he works in outside the station.

“I heard three gunshots,” he said. “Like, one, two, three.”

The station is at 90th Street and Elmhurst Avenue, on the border of Elmhurst and Jackson Heights.

A suspect, described as a heavyset man wearing a blue jacket fled toward street level, police sources said.

No arrests had been made as of Sunday afternoon.