Neil Patrick Harris curses fan who interrupts Broadway performance

Neil Patrick Harris wasn't going to let a fan's interruption of his Broadway show, “Hedwig and the Angry Inch,” go unnoticed.

According to the New York Post, an audience member screamed out “I love you, Neil!” mid-performance to which Harris replied, “I’m doing something up here, ­motherf–ker!”

But the former "How I Met Your Mother" actor's rep said the reply, though profane, was all in good fun, according to Gossip Cop.

“The response to the fan yelling was actually done in character — Neil as Hedwig, not as though Neil stopped the show to respond out of character.”

“When the fan initially yelled, ‘I love you, Neil,’ Neil (as Hedwig) then responded, ‘Who’s Neil? I’m not Neil.’ He then looked over at Yitzhak (played by Lena Hall) and said, ‘Are you Neil? You better not be Neil’ followed by Hedwig then offering the quote in question," the rep told the site.“It was all done in good fun, and fully in the context of the show. The audience went crazy and it really was a light-hearted moment..."

The New York Post reported the moment was met with rapturous applause.