Make sure the carbon underneath isn't damaged. (Get a magnifying glass.) Then you can get nail polish (clear or matching if you can find it) to paint over or fill in the scratches. (Basically, to fill them in, you apply thin coats with some pointy object until it's flush with the original paint surface.) My old LBS suggested model paint, but I don't know if I'd use it on carbon (my bike is aluminum).