Yes, it is OK to delete answers without a comment because mods can’t be expected to explain everything they do if the information is there (in the help center) and the case is clear.
No, your answer should not have been deleted, at least not single-handedly without review. The post is short but fine nevertheless IMO.