They would be considered clean (if you mean "whole grain pasta" and not regular pasta). I try to avoid wheat, which pervades too many foods these days and is very hybridized and high in gluten, since it is not the most healthy grain, IMO. I rarely eat bread, but when I do, it's usually sprouted multi-grain bread (which includes sprouted wheat). I don't eat pasta very often, and when I do, I usually go for quinoa/corn or rice pasta.
One thing to consider: breads and pasta are made from flour---finely ground grain--and this processing, according to some, makes the calories more assimilable. I believe this is true, because when I took Neal Barnard's advice and avoided flour products, even 'whole' flour products--sticking to whole grains, not their flours, I lost some weight pretty easily.