public class Demo { // this comment mentions while and for, which must not be counted private static final int LIMIT = 10; public static void main(String[] args) { int total = 0; for (int i = 0; i < LIMIT; i++) { if (i % 2 == 0) { total += i; /* else, return and class inside a comment */ } else { continue; } } String text = "if this were code, new and try would count"; char quote = '"'; while (total > 0) { total = total / 2; } System.out.println(text + total + quote); } }