Although a funeral is a sad occasion, it is best to use humor in your speech. Laughter is good medicine: where tension isolates us, laughter reconnects us. Nothing gives more air and space during a funeral than a well-placed joke.
See here the amazing eulogy by comedian Billy Crystal at the memorial service of Muhammad Ali, a great icon and his close friend.