I was actually thinking of connecting 'L' to one comparator input and 'N' to the other so it forces the polarity to reverse and if both inputs are weakly biased at half supply, it will give a square wave out at exactly zero crossing. The problem I can see is if you capacitively couple the output to give a spike as the edges change, the pulses will also be rising or falling. If you can live with alternate (positive going) crossing detections that would be fine, it you need to detect crossing in both directions your MCU would have to be directly coupled (no capacitor) and look for rising and falling edges. If you are using a PIC, there is already a facility to interrupt on rising or falling edges, you just have to swap the selected edge after each detection.
If you use a PIC with a built in comparator you don't need an external one at all.
Brian.