code: def position_after_whitespace(body, start_position):
      """Reads from body starting at start_position until it finds a
      non-whitespace or commented character, then returns the position of
      that character for lexing."""
      body_length = len(body)
      position = start_position
      while position < body_length:
          code = char_code_at(body, position)
          if code in ignored_whitespace_characters:
              position += 1
  
          elif code == 35:  # #, skip comments
              position += 1
              while position < body_length:
                  code = char_code_at(body, position)
                  if not (
                      code is not None
                      and (code > 0x001F or code == 0x0009)
                      and code not in (0x000A, 0x000D)
                  ):
                      break
  
                  position += 1
          else:
              break
      return position
  
imports: import json
  from ..error import GraphQLSyntaxError
label_desc: Use image node_id 6 for calling a global function with example usage: position_after_whitespace(body, start_position) and returns: position