Comment Transform

Inserts a non-functional comment as a recipe step. Commented steps are ignored during job execution.

Multi-line comments are not supported.

Basic Usage

Depending on how the comment is inserted, the format of the step may vary.

Manually inserted comments:

In the Transform Builder, enter the following text in the Transformation textbox:


Then, specify a value in the comment textbox.

Pasted comments:

Text values of the following formats can be pasted into the Transformation textbox. These steps are converted to comment transforms in the Transform Builder:

// This is a comment.

/* This is also a comment. */

Output: Output is unaffected by the comment. Comments are highlighted in a different color in the recipe panel.

Exported comments:

When comments are exported in scripts from the Transform Builder, they are in the following format:

// This is a comment.


comment comment: 'This is a comment.'

Token Required? Transform Builder Data Type Description
commentYAdd CommenttransformName of the transform
commentYcommentStringText of the comment to include.


A text value that represents the comment that will appear in the recipe panel and in all exported scripts.

Required?Data Type


Send feedback about...

Google Cloud Dataprep Documentation