simplify loop looking for brace token in same line as colon
remove inline comments check, because I must have been crazy to write it.