Joss Whedon said this quote

Make it dark, make it grim, make it tough, but then, for the love of God, tell a joke.