When setting up Moodle assignments, consider how best to give feedback to students feedback on their assignments. There is a Feedback types section in the assignment settings. When expanded it shows several options.
Ways to provide feedback to students
You can provide feedback to students:
As text in a simple comment box next to the grade for each student’s submission (Feedback comments).
As attached files (Feedback files).
As comments within the text submission (Comment inline feature set to Yes).
As comments within each file submission (select Feedback files).