In this thread in CSthe question came up about who used “You don’t say” as a comedy line. It seems to go far back into radio comedy and vaudeville. It’s comic value comes from sarcasm, usually with an exagerrated pronunciation.
When did this line emerge as an idiom in English? Was there a piece of literature it was associated with? Did it have any comic connotations early on?