process top-level comments