Auto-fill mode is enabled by typing M-x auto-fill-mode. This enables automatic line breaking with some features. For example, the following multiline comment was created by typing M-; followed by the text. The second line was indented and a ‘%’ was added automatically.
dynamics([]). % A list of pit furnace % dynamic instances