fn previous_is_line_comment(events: &[Events]) -> bool