Improved Python's comment heuristic.