Kim Kardashian was among several surprise celebrities who sang off Jay Leno on his final episode of 'The Tonight Show' on Thursday (Feb. 6).

Leno's good friend Billy Crystal put together the all-star chorus to send off the longtime late-night host, saying goodbye for the second time in five years.

Joining the 'Keeping Up With the Kardashians' star in the takeoff of 'So Long, Farewell' from 'The Sound of Music' were Oprah Winfrey, Jack Black and Sheryl Crow. Crystal's "Shut Your Von Trapp Family Singers" also included 'Big Bang Theory' star Jim Parsons, NBA player Chris Paul and TV legend Carol Burnett.

The segment was more about comedy than about great singing (Crow aside). The rewritten lyrics had the stars making fun of themselves as much as they made fun of Jay. Kim, dressed in a signature figure-hugging white dress, delivered this priceless line: "So long, farewell, tonight I told my fo-olks / and now, I won't be the butt of Leno's jo-okes."

After 22 years hosting the iconic late-night show, Leno will be replaced by NBC colleague Jimmy Fallon. 'The Tonight Show With Jimmy Fallon' premieres Feb. 17.