Humor must not professedly teach, and it must not professedly preach, but it
must do both if it would live forever.....
p. 202 "Mark Twain in Eruption." (1940ed.)

Scott, I think this must be the quote you were referring to.

Gretchen Sharlow
Elmira College Center for Mark Twain Studies