private static String nextImmediateLine(RandomAccessFile r) throws IOException {
      String l;
      
      while ((l = r.readLine()) != null && l.startsWith("//")) {
         //Reading file done in loop condition!
      }
      
      return l;
   }