IDEX-1429 Handle case with no comments in the file or by checking extra attributes