Walliams made the quip during a stage routine in which he played a disgraced children's' TV presenter.