Comment line added to src/task/task.cpp

A line comment is added for the function clearList()