Hi. I'm David, and I'm happy to help you.
Rest assured. If you reset your PC and select Remove Everything, it will not affect your files stored on OneDrive. Your files will be accessible when you log into OneDrive again.
Feel free to ask back any questions.