In his Instagram post, Yang described the lessons he’s learned while working at SNL.
“i learned about myself (bad with wigs). i learned about others (generous, vulnerable, hot),” he wrote.
“i learned that human error can be nothing but correct. i learned that comedy is mostly logistics and that it will usually fail until it doesn’t, which is the besssst.”
He also thanked other cast members, as well as Lorne Michaels, the long-time producer of the programme.
Yang was behind some of the programme’s most memorable characters and parodies, including as the iceberg that sank the Titanic and as disgraced ex-Congressman George Santos.
Yang’s final episode, airing on Saturday night, will be hosted by Ariana Grande, one of the stars of the film Wicked: For Good.
Yang also had a role in the film, and has starred in previous films including The Wedding Banquet, Fire Island, Bros and the first Wicked film.
For his work on SNL, he has been nominated for five Emmy Awards. He also co-hosts podcast Las Culturistas and is expected to voice a character in the Cat in the Hat animated film due to be released next year.