set parent to null if parent is not top-level comment