code: def _obtain_comment(_m_comment, _t_comment):
      if not _m_comment or not _t_comment:
          return _m_comment or _t_comment
  
      _m_counter = _comment_counter(_m_comment)
      _t_counter = _comment_counter(_t_comment)
  
      if not _m_counter[0] and not _t_counter[1]:
          comment = _t_comment + _m_comment
      elif not _m_counter[1] and not _t_counter[0]:
          comment = _m_comment + _t_comment
      elif _t_counter[0] and _t_counter[1]:
          comment = _t_comment
      elif not _t_counter[0] and not _t_counter[1]:
          comment = _m_comment
      elif not _m_counter[0] and not _m_counter[1]:
          comment = _t_comment
      else:
          if _t_counter[0]:
              comment = _m_comment.replace(
                  _m_counter[0], _t_counter[0], 1
              )
          else:
              comment = _m_comment.replace(
                  _m_counter[1], _t_counter[1], 1
              )
  
      i = comment.find("\n\n")
      while i >= 0:
          comment = comment.replace("\n\n\n", "\n\n", 1)
          i = comment.find("\n\n\n")
  
      return 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 7 for calling a global function with example usage: _obtain_comment(_m_comment, _t_comment) and returns: comment, unknown