Well that is opposite from most people's problem that WANT the enter key to skip to the next line.. Try holding SHIFT while you press enter and see if that helps..
..also, have you tried a different web-browser to see if it is a Facebook account setting, or a Web-browser setting?
I cannot type a comment in facebook
More information about text formats