For surface crust then a specific exhaust cleaner like DrDownpipe will do a decent job. For really bad marking, blueing, or corrosion, Autosol or some kind of metal polish on a rag, wrap the rag once around the pipe and then polish with a sawing motion. It'll improve the look but, beyond a certain point of corrosion, there's not much you can do.