我在vi中打开了一个Ruby代码文件,其中有用#注释掉的行: class Search < ActiveRecord::Migration def self.up # create_table :searches do |t| # t.integer :user...
以下代码会输出 “Hello World!”(真的,试一下吧)。public static void main(String... args) { // The comment below is not a typo. // \u000d System.out.println("...
我有一个批处理文件,运行了几个修改表格的Python脚本。 我希望用户注释掉他们不想运行的1-2个Python脚本,而不是从批处理文件中删除它们(这样下一个用户就知道这些脚本存在作为选项!) 我还想添加注释,特别提醒用户在运行之前需要更新的批处理文件中的变量。我看到可以使用REM。但是似乎...
如何在XML中注释掉一块标签? 例如,在下面的代码中,如何注释掉<staticText>标签以及其中的所有内容? <detail> <band height="20"> <staticText> <r...