protected static boolean generateBlockComment ( String comment , PyAppendable it ) { final String cmt = comment == null ? null : comment . trim ( ) ; if ( ! Strings . isEmpty ( cmt ) ) { assert cmt != null ; for ( final String line : cmt . split ( "[\n\r\f]+" ) ) { //$NON-NLS-1$ it . append ( "# " ) . append ( line ) . newLine ( ) ; //$NON-NLS-1$ } return true ; } return false ; }
Generate a Python block comment with the given comment .