The comedian says he is "filled with gratitude" as he announces his departure from the programme.