ida-python script

I am writing a python script to add comment to the result of ida pro.
My question is how to add my comment to the area of the assemble codes text?
I remember there is a simple function to realize this, but don't know its name now...