Command comment-line is not recognized by my version of emacs. How can I install this function?

UPDATE: It may be relevant that my system shows at least two emacs, at /usr/local/bin/emacs; and at /usr/bin/emacs24. The second one is what I use; the first one cannot be launched. I have periodically removed and reinstalled emacs for reasons I cannot now recall.