code: protected String filterTemplateText(String templateText, Object pmb) {
          final String replaced = Srl.replace(templateText, CRLF, LF);
          final List<String> lineList = Srl.splitList(replaced, LF);
          final StringBuilder sb = new StringBuilder(templateText.length());
          boolean nextNoLine = false;
          int lineNumber = 0;
          for (String line : lineList) {
              ++lineNumber;
              if (nextNoLine) {
                  sb.append(line);
                  nextNoLine = false;
                  continue;
              }
              if (isIfEndCommentLine(line) || isForEndCommentLine(line)) {
                  appendLfLine(sb, lineNumber, Srl.substringLastFront(line, END_COMMENT));
                  sb.append(LF).append(END_COMMENT);
                  nextNoLine = true;
                  continue;
              }
              final String realLine;
              if (isOnlyIfCommentLine(line) || isOnlyForCommentLine(line) || isOnlyEndCommentLine(line)) {
                  nextNoLine = true;
                  realLine = Srl.ltrim(line);
              } else {
                  realLine = line;
              }
              appendLfLine(sb, lineNumber, realLine);
          }
          return sb.toString();
      }
docs: ---------------