Test if section exists *before* adding a comment