A man was fatally stabbed in front of a karaoke bar in Midtown Sunday, authorities said.

Howard Chi, 33, was standing outside the Maru Karaoke Lounge on West 32nd Street when James Park, 28, allegedly stabbed him in the chest at around 5:02 a.m., police said.

An argument sparked the deadly knifing, but it remained unclear if Chi and his assailant knew one another, law-enforcement sources said.

The alleged killer, clad in black, fled the scene on foot, the sources said.

Chi was rushed to Bellevue Hospital, where he was pronounced dead a little more than an hour later, at 6:43 a.m.

Chi had a history of multiple arrests in Queens and Manhattan, authorities said, although they are all sealed.

The knife-wielding man, who was described as standing about 5-foot-2, was arrested Sunday evening and charged with second-degree murder.

A weapon has yet to be recovered.

Blood remained splattered on the sidewalk in front of the club hours after the attack as cops protected the scene and detectives went in and out of the building.

A manager at the club declined to comment Sunday night.

Additional reporting by Emily Saul and Tom ­Wilson