def _comment_line(line):
 line = line.rstrip()
 if line:
  return ('# ' + line)
 else:
  return '#'

def _comment_line ( line ) : line = line . rstrip ( ) if line : return ( '# ' + line ) else : return '#'
return a commented form of the given line .