Option 1 (for current tasks): Clicking on the red symbol
deletes the task.
Option 2 (for already completed tasks): Clicking on the task text opens the comment field. At the bottom left is the "Delete task" button. With this confirmation, the task and all comments are deleted.