code: def _ac_comment_index(ctx, incomplete, **_kw):
      from . import runs_impl
  
      if ctx.params.get("remote"):
          return []
  
      args = click_util.Args(**ctx.params)
      args.runs = ctx.args
      runs = runs_impl.runs_op_selected(
          args, ctx, runs_impl.LATEST_RUN_ARG
      )
      indexes = set()
      for run in runs:
          for i in range(len(run.get("comments") or [])):
              indexes.add(str(i + 1))
      return [i for i in sorted(indexes) if i.startswith(incomplete)]
  
imports: import click
  from guild import click_util
  from .None import remote_support
  from .None import runs_support
label_desc: Use image node_id 1 for calling a global function with example usage: _ac_comment_index(ctx, incomplete) and returns: unknown, list