Using SonarQube, one may go to Administration -> Technical debt in order to customize the underling metrics.
It would be nice if this was also possible on SonarCloud.
Thanks for your feedback. This might come, but this is currently not in our priorities.