This phrase is often used in meetings and among members of 12-step groups, especially Alcoholics Anonymous, but appears to have wider usage (see entry in The Free Dictionary).
Usage is similar to Thank you for the flowers.
AA meeting discussion leader: "Thank you for sharing. Who else has something to share?"
Car 2: That Music is crap. Thank You For Sharing. asshole.