code: def _extract_comments(self):
          
          self._det_file.seek(0, 0)
          for line in self._det_file.readlines():
              line = line.strip()
              if line.startswith('#'):
                  self.add_comment(line[1:])
docs: Retrieve all comments from the file