you don't say
My doubt is whether you use this for exclamations or for agreements, all the references pointed out for saying it when one is surprised but I am sure I have heard some one say this in an agreeing way
I failed in my maths exam
You don't say!
The weather is nice today
You don't say