Not that it would be enforced, but lying to congress is a violation whether or not you are under oath.
FWIW, I thaink that Congress’s refusal to put that expletive-deleted under oath says more about Congress than about Comey.