They look like just surface scratches to me. I would keep using them.
Wot 'e sed.
Cosmetic damage only; I'd ride that with no greater than normal concern.
The thing with carbon is if the hit isn't enough the break the bar (or whatever component) at the time of impact, it will NOT just fail suddenly and instantly snap at a future point. There are literally millions of fibres in the carbon layup; it will take a massive shock to break them all at once. IF a weakness has been introduced, subsequent breakage will be progressive in nature as fibres break individually.
One of my (roadie/triathlon) customers had a bingle a while ago caused by trying to put too much grunt through a buggered drivetrain. About three weeks after the crash he had the bike in for the drivetrain service and new bar tape, and while removing the tape I discovered the damaged handlebar. It was soft, but holding together, but
he'd been riding it for three weeks, with much greater damage than pictured above.
I had a bingle at the You Yangs a bit over a year ago, riding pretty well carbon everything. There's a ding in the top tube of the frame where a shifter hit it; I'm observing it, but it hasn't grown, and will patch it if it looks worrying. Nothing has broken or looked remotely in need of replacing.