you [do/say] such a thingThis 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.