Fixing issue of deleting all comments and residual trail of previous comments remain.

Signed-off-by: sigilworks <tj@sigilworks.com>