I'm looking for a word that means saying something with an insincerely serious tone, usually for comedic effect. I feel like the word facetious is close to what I'm looking for, but not exactly.
"Surely, you can't be serious," they said. "Of course I'm serious," he replied [word-ly], "And don't call me Shirley."