To be specific, this statement refers to a phrase in which the writer/speaker's intention of being sarcastic is not disclosed to the reader/listener (deliberately or accidentally). The effect strongly depends on the vocal inflection placed on the statement. Is there a better word or phrase than "ambiguous sarcasm"?
EDIT:
This includes the case in which the speaker is unsure about his or her intentions, leaving the implication of the statement for interpretation.