There's quite a lot of comedy in this scene: an oblivious couple is hooking up, Harvey's cut off before he says some expletive, and Heath Ledger manages to be quite the joker. But imagine if the comedy instead went:
Batman: "OK, that's enough, Krusty. You're not scaring anyone with that whole 'hobo who raided Prince's dumpster' shtick."
Joker: "You! I was just ... uh, what was I saying?"
Batman: "Was he monologuing?"
Rachel: "Yeah, he was monologuing."
I'm pretty sure that's not far off from how Marvel would have done it. When the villain first attacks in Age Of Ultron, the next thing we hear anyone say is Banner apologizing for landing on Black Widow's boobs while missiles still explode around them. When Tony first meets Loki, he says, "Make a move, reindeer games," which is true to his character, but why does the movie want us laughing at Loki's costume? Does it not want Loki to intimidate us? If the movie thinks his costume is dumb, why not redesign it? If it thinks the entire concept of flamboyant villain costumes is stupid, then aren't we the butt of that joke, since we paid $15 to see it?
Black Panther largely avoided this, but it still had to interrupt the resurrected T'Challa's family reunion with M'Baku saying "Are you done?" Iron Man 3 had a surrendering henchmen say, "Honestly, I hate working here, they are so weird," which is hilarious, so long as they don't expect us to care about Rebecca Hall being killed right before that. It's a gag that some writers still think they have to include in the movie. They're wrong.