Ray-tracing options are greyed out in the menu when hardware or drivers are not compatible. In rare cases, the ray-tracing options can be greyed out even if users have a compatible GPU. This occurs on some specific Windows versions, that lack support for Shader Model 6.6. Updating Windows should make the ray-tracing options available, if you have supported hardware.
Marvel's Spider-Man Remastered on PC uses the DirectX Agility SDK, which requires Window 10 version 1909 (Build 18363) or newer. Some specific revisions of Windows 10 1909, 2004 and 20H2, do not have this SDK. If you use Windows 1909, the revision number should exceed or be equal to .1350. For Windows 10 Version 2004 and 20H2, the revision number should exceed or be equal to .789.
You can find more information on DirectX Agility SDK and Windows 10 build numbers at the Microsoft DirectX Developer Blog.