RC supports C-style syntax for both single-line comments and block comments. Single-line comments begin with two forward slashes (//) and run to the end of the line. The following is an example of a resource statement followed by a single-line comment.
NewCursor CURSOR NEW.CUR // a new cursor for the application.
Block comments begin with an opening delimiter (/*) and run to a closing delimiter (*/). Comments do not nest. The following is an example of a block comment at the beginning of a .rc file.
/*
Resources.Rc
Contains the resource definitions for the application.
Control identifiers are defined in Resources.h.
*/
#include "resources.h"
//...
Learn how to use static and dynamic shared resources to build a MAUI user interface. And see how styles can make the user interface both consistent and accessible.