It was a punchline at a narratively inappropriate time.
Man, I liked this episode overall but the emotional climax was kind of ruined with Chang making obnoxious gay jokes over it.
I still kind of wish the show had ended with Evil Abed looking into a mirror and saying, "How's Annie? How's Annie?"