By default, Magento keeps track of complete “Comments History” on any order. This is a useful functionality that allows administrators to keep track of any internal communication as well as any comments left by a customer.
The good news, for any developer is, it is easy to programatically add comment to any order in Magento.
In our example, we will be fetching the last order made and will be adding a comment to it.
As you can see, it is super-easy to do. So, have fun creating your own module that is going to add comments to Magento orders.