When Mary said she was going to share an apartment with her new boyfriend, her parents were surprised, to say the least. The expression "to say the least" above is used to:
there is something else that needs to be said about the subj
their reaction was much worse than what what was said
indicate that the statement is meant to be ironic