Yes, but the diesel exhaust normally has enough other by-products in it, that you will object to the smell while breathing it in.
In other words, most cars that produce CO (before the catalytic converter warms up) the exhaust might not smell bad, while a diesel will smell bad and naturally you might move to someplace with cleaner air. Also I think the percentage of CO in diesel exhaust is generally lower than it is in car exhaust (talking about pre-catalytic converter vehicles).
Modern vehicles barely produce any CO once the catalytic converter is warm. That said, my buddy was testing his furnace with a CO meter. Then wanted to know if the CO meter worked, so took it out to the garage and started his Corvette. Even with the garage door open, the CO meter went up into the 100's PPM in less than 1 minute.
Fred.