Brian Williams and Allison Williams attend the “Girls” premiere after party in New York City. (Andrew H. Walker/Getty Images)

Brian Williams has pretty good comedy chops, as we know from his multiple “30 Rock” cameos, and the NBC anchor showed them off again during an unusual news story on Wednesday’s “NBC Nightly News” broadcast. He reported that his daughter, Allison Williams, has been cast as the lead in the network’s live musical of “Peter Pan.”

“Our own network, NBC, has set the casting for the two lead parts of its live theatrical telecast of ‘Peter Pan,'” Williams said, first noting that Christopher Walken had signed on to play Captain Hook.

Allison, best known as the insufferable Marnie from millennial tragicomedy “Girls,” has been the target of nepotism complaints since she was cast in the HBO series. Obviously, that continued Wednesday when NBC announced that she would have a starring role on the same network where her dad has worked for two decades. Williams, however, didn’t seem to care at all as he proudly included the news during his evening report.

“Just today, NBC announced Allison Williams will play the role of ‘Peter Pan,” Williams said, and added this with a straight face: “Family members confirm she’s been rehearsing for this role since the age of three, and they look forward to seeing her fly.”

A childhood photo suddenly appeared on the screen — sure enough, it was a three-year-old Allison dressed exactly like Peter Pan.

So while this won’t exactly stop Twitter from saying how unfair this all is (“Does N in NBC stand for #nepotism?”), NBC won’t mind. The more buzz the better — while Carrie Underwood was raked over the coals for her performance in last December’s “Sound of Music,” the special scored huge ratings with 21 million viewers. And that’s all that matters.