def add_comment(content, comment):
  """Add comment to the content."""
  if not comment:
    return content

  comment_block = '\n'.join(['# %s' % line for line in comment.split('\n')])
  return comment_block + '\n\n' + content