Currently we are using Jira Data Center v8.13.2. In this version, we don't have the ability to archive Sub-task Issue.
We are only able to archive the sub-task if we archive the parent issue.
We are planning to update the our Jira. In which version, Archiving the Sub-task issue type independently option is available.