そんなことを言うとは

to say such a thing

→ そんな
phrase Rare #21,606
to say such a thing Often expresses surprise or disbelief about someone saying something; とは introduces the speaker’s reaction.
JA: 彼がそんなことを言うとは思わなかった。
EN: I didn’t think he would say such a thing.

彼がそんなことを言うとは不思議だ。

It's strange that he would say such a thing.

そんなことを言うとは彼女は馬鹿に違いない。

She must be stupid to say such a thing.

そんなことを言うとは気でも狂ったのか。

Are you out of your mind, saying something like that?

そんなことを言うとは、彼はとても腹を立てているに違いない。

He must be really angry to say something like that.

彼がそんなことを言うとは考えられない。

I can't imagine him saying something like that.

そんなことを言うとは、きみも相当図々しいね。

The nerve of you to say something like that.

そんなことを言うとは彼らしくもない。

That’s not like him to say something like that.