君はそんなことを

you [do/say] such a thing

→ 君
phrase Rare #34,149
you [do/say] such a thing This is an incomplete phrase pattern: 君は means “you,” そんなこと means “such a thing,” and を marks it as the object of the following verb. It is often used when criticizing or expressing surprise at someone's words or actions. 君 is familiar and can sound blunt depending on the relationship.
JA: 君はそんなことを本当に言うつもりなの?
EN: Are you really planning to say such a thing?

よく君はそんなことをあっさり言えるねぇ

I can't believe you can say something like that so casually.

君はそんなことを心配する必要はありません

You don't need to worry about that.