code: def _map_comment(_element, _key):
      origin_comment = ""
      token = _element.ca.items.get(_key, None)
      if token is not None:
          try:
              origin_comment = token[2].value
          except Exception:
              try:
                  # comment is below element, add profix "#\n"
                  col = _element.lc.col + 2
                  space_list = [" " for i in range(col)]
                  space_str = "".join(space_list)
  
                  origin_comment = "\n" + "".join(
                      [space_str + t.value for t in token[3]]
                  )
              except Exception:
                  pass
  
      return origin_comment
  
imports: import sys
  import argparse
  from argparse import Namespace
  import os, shutil
  import getopt
  from ruamel.yaml import YAML, yaml_object
  from ruamel.yaml.comments import CommentedSeq, CommentedMap
  from ruamel.yaml.tokens import CommentToken
label_desc: Use image node_id 3 for calling a global function with example usage: _map_comment(_element, _key) and returns: origin_comment